<?php
class Modblogs2 extends CI_Controller {
    private $params =array();
    public function index($params) {
        // Duyet mang params
        foreach($params as $key=> $param){
            echo $key.' : ';
            echo $param.'<br/>';
        }
        //thuc hien yeu cau tu bien param ma nguoi dung yeu cau
        if($params[0] == 'param3')
            $data['daxuly'] = 'Codeigniter HMVC voi param3';
        else 
            $data['daxuly'] = 'Codeigniter HMVC khong phai param3';
        $this->load->view('modules/viewmodblogs2',$data);
    }
}